package day20171121.reloadingExample;
class Point{
    int x,y;
    Point(){
        this(-1,-1);
    }
    Point(int a,int b){
        x=a;
        y=b;
    }
    void showxy(){
        System.out.println("x="+x+"y="+y);
    }
}
public class Test08 {
    public static void main(String[] args) {
        Point a=new Point();
        Point b=new Point(1,1);
        a.showxy();
        b.showxy();
    }
}
